<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户登录</title>
<link rel="stylesheet" type="text/css"
	href="static/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
</head>
<body>
	<div style="width: 80%; margin: 10px auto;">
		<form class="form-horizontal" action="LoginAction" method="post">
			<!-- 约定：form表单的那么属性值要与（对应实体类的属性名【数据库的字段名】）保持一致【大小写敏感】 -->

			<div class="form-group" style="margin-top: 100px;">
				<label class="col-sm-2 control-label col-sm-offset-2">用户名</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="txtUserName"
						name="adminname" placeholder="请输入用户名">
				</div>
			</div>

			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">密码</label>
				<div class="col-sm-3">
					<input type="password" class="form-control" id="txtUserPsw"
						name="adminpsw" placeholder="请输入密码">
				</div>
			</div>

			<div class="form-group" style="margin-top: 30px;">
				<div class="col-sm-offset-4 col-sm-2">
					<button type="submit" class="btn btn-default">登录</button>
				</div>
				<div class="col-sm-2">
					<button type="reset" class="btn btn-default">重置</button>
				</div>
			</div>
		</form>
	</div>

	<script type="text/javascript" src="static/js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript"
		src="static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>

</body>
</html>